import { RouteRecordRaw, RouterView } from 'vue-router'

//首页
const homeIndex = () => import(/* webpackChunkName: "homeIndex" */ '@/view/common/index.vue')


const NoPage = () => import(/* webpackChunkName: "common" */ '@/view/common/404.vue')

const routes: Array<RouteRecordRaw> = [
  { path: '/', redirect: '/home' },
  {
    path: '/home',
    name: 'home',
    component: homeIndex,
    meta: { title: '首页' }
  },
]

export default routes
